package com.nova.edc.service.system;

import com.nova.edc.model.system.PointLight;
import com.nova.edc.model.util.ExcelArea;
import com.nova.frame.dao.pager.Page;
import com.nova.frame.dao.pager.PageList;

import java.util.List;

public interface PointLightService {

PointLight insert(PointLight pointLight);

	int insertByExcel(List<ExcelArea> excelAreaList);
	
	int delete(PointLight pointLight);

	int deleteById(Integer id);
	
	int update(PointLight pointLight);
	
	List<PointLight> findAll();
	
	PointLight findById(int id);
	
	PageList<PointLight > findPointLightPageList(PointLight pointLight, Page page, String sidx, String sord);

	// 项目实施获取客户所有的灯具信息
	PageList<PointLight> findPageExecute(PointLight pointLight, Page page, String sidx, String sord);

	List<PointLight> findByExample(PointLight pointLight);

}
